package org.dtrevien.metamodel.java;

import org.dtrevien.metamodel.java.visitor.Visitor;

/**
 * Object List representation in Java model
 * for List, ArrayList...
 * 
 * @author davidtrevien
 *
 */
public class ObjectList extends Attribut {

	public ObjectList(Classe type, String name, Relationship relationship, Visibility v) {
		super(type, (name.isEmpty()) ? "" : name.substring(0, 1).toLowerCase()+name.substring(1), relationship, v);
	}
	
	@Override
	public void accept(Visitor v) {
		v.visiteObjectList(this);
	}

}